package com.yzqp;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 用于拉取极速数据 的api数据
 */
@EnableTransactionManagement
@EnableScheduling
@SpringBootApplication
//@ComponentScan(nameGenerator = UniqueNameGenerator.class)
@MapperScan("com.yzqp")
//异步任务
@EnableAsync
public class JiSuApiServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(JiSuApiServerApplication.class, args);
    }

}
